import service from '@/utils/fly';

export const getSecondHandList = (data, name) => {
    return service.get(`/api/${name}.html`, { params: data });
};

export const getRoomInfo = (id) => {
    return service.get(`/api/second/${id}`);
};
